﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000EFF RID: 3839
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueHexAvatarSelectInfo : IMessage<RogueHexAvatarSelectInfo>, IMessage, IEquatable<RogueHexAvatarSelectInfo>, IDeepCloneable<RogueHexAvatarSelectInfo>, IBufferMessage
	{
		// Token: 0x170030C7 RID: 12487
		// (get) Token: 0x0600AC37 RID: 44087 RVA: 0x001D1EE5 File Offset: 0x001D00E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueHexAvatarSelectInfo> Parser
		{
			get
			{
				return RogueHexAvatarSelectInfo._parser;
			}
		}

		// Token: 0x170030C8 RID: 12488
		// (get) Token: 0x0600AC38 RID: 44088 RVA: 0x001D1EEC File Offset: 0x001D00EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueHexAvatarSelectInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170030C9 RID: 12489
		// (get) Token: 0x0600AC39 RID: 44089 RVA: 0x001D1EFE File Offset: 0x001D00FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueHexAvatarSelectInfo.Descriptor;
			}
		}

		// Token: 0x0600AC3A RID: 44090 RVA: 0x001D1F05 File Offset: 0x001D0105
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueHexAvatarSelectInfo()
		{
		}

		// Token: 0x0600AC3B RID: 44091 RVA: 0x001D1F18 File Offset: 0x001D0118
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueHexAvatarSelectInfo(RogueHexAvatarSelectInfo other) : this()
		{
			this.selectHintId_ = other.selectHintId_;
			this.hAEONCCBKEG_ = other.hAEONCCBKEG_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600AC3C RID: 44092 RVA: 0x001D1F4E File Offset: 0x001D014E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueHexAvatarSelectInfo Clone()
		{
			return new RogueHexAvatarSelectInfo(this);
		}

		// Token: 0x170030CA RID: 12490
		// (get) Token: 0x0600AC3D RID: 44093 RVA: 0x001D1F56 File Offset: 0x001D0156
		// (set) Token: 0x0600AC3E RID: 44094 RVA: 0x001D1F5E File Offset: 0x001D015E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SelectHintId
		{
			get
			{
				return this.selectHintId_;
			}
			set
			{
				this.selectHintId_ = value;
			}
		}

		// Token: 0x170030CB RID: 12491
		// (get) Token: 0x0600AC3F RID: 44095 RVA: 0x001D1F67 File Offset: 0x001D0167
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> HAEONCCBKEG
		{
			get
			{
				return this.hAEONCCBKEG_;
			}
		}

		// Token: 0x0600AC40 RID: 44096 RVA: 0x001D1F6F File Offset: 0x001D016F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueHexAvatarSelectInfo);
		}

		// Token: 0x0600AC41 RID: 44097 RVA: 0x001D1F80 File Offset: 0x001D0180
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueHexAvatarSelectInfo other)
		{
			return other != null && (other == this || (this.SelectHintId == other.SelectHintId && this.hAEONCCBKEG_.Equals(other.hAEONCCBKEG_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600AC42 RID: 44098 RVA: 0x001D1FD0 File Offset: 0x001D01D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.SelectHintId != 0U)
			{
				num ^= this.SelectHintId.GetHashCode();
			}
			num ^= this.hAEONCCBKEG_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600AC43 RID: 44099 RVA: 0x001D201D File Offset: 0x001D021D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600AC44 RID: 44100 RVA: 0x001D2025 File Offset: 0x001D0225
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600AC45 RID: 44101 RVA: 0x001D2030 File Offset: 0x001D0230
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.SelectHintId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.SelectHintId);
			}
			this.hAEONCCBKEG_.WriteTo(ref output, RogueHexAvatarSelectInfo._repeated_hAEONCCBKEG_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600AC46 RID: 44102 RVA: 0x001D2080 File Offset: 0x001D0280
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.SelectHintId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SelectHintId);
			}
			num += this.hAEONCCBKEG_.CalculateSize(RogueHexAvatarSelectInfo._repeated_hAEONCCBKEG_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600AC47 RID: 44103 RVA: 0x001D20D4 File Offset: 0x001D02D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueHexAvatarSelectInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.SelectHintId != 0U)
			{
				this.SelectHintId = other.SelectHintId;
			}
			this.hAEONCCBKEG_.Add(other.hAEONCCBKEG_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600AC48 RID: 44104 RVA: 0x001D2121 File Offset: 0x001D0321
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600AC49 RID: 44105 RVA: 0x001D212C File Offset: 0x001D032C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					if (num != 120U && num != 122U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.hAEONCCBKEG_.AddEntriesFrom(ref input, RogueHexAvatarSelectInfo._repeated_hAEONCCBKEG_codec);
					}
				}
				else
				{
					this.SelectHintId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040045EB RID: 17899
		private static readonly MessageParser<RogueHexAvatarSelectInfo> _parser = new MessageParser<RogueHexAvatarSelectInfo>(() => new RogueHexAvatarSelectInfo());

		// Token: 0x040045EC RID: 17900
		private UnknownFieldSet _unknownFields;

		// Token: 0x040045ED RID: 17901
		public const int SelectHintIdFieldNumber = 7;

		// Token: 0x040045EE RID: 17902
		private uint selectHintId_;

		// Token: 0x040045EF RID: 17903
		public const int HAEONCCBKEGFieldNumber = 15;

		// Token: 0x040045F0 RID: 17904
		private static readonly FieldCodec<uint> _repeated_hAEONCCBKEG_codec = FieldCodec.ForUInt32(122U);

		// Token: 0x040045F1 RID: 17905
		private readonly RepeatedField<uint> hAEONCCBKEG_ = new RepeatedField<uint>();
	}
}
